import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    redirect: '/index'
  },

  //基础平台（待搭建）
  {
    name: 'index',
    path: '/index',
    component: () => import('@/views/index.vue')
  }

]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
